fn main() {
    use Status::{Poor, Rich};
    use Work::*;
    let status = Poor;
    let work = Civilian;
    match status {
        Rich => println!("The rich have lots of money!"),
        Poor => println!("The poor have no money..."),
    }
    match work {
        Civilian => println!("Civilians work!"),
        Soldider => println!("Soldiers fight!"),
    }
}
#[allow(dead_code)]
enum Status {
    Rich,
    Poor,
}
#[allow(dead_code)]
enum Work {
    Civilian,
    Soldider,
}
